<template>
  <div id="app">
    <tab-bar>
      <div class="tab-bar-item">
        <img src="@/assets/img/home.svg" alt />
        <img src="@/assets/img/home_active.svg" alt />
        <div>首页</div>
      </div>
      <div class="tab-bar-item">
        <img src="@/assets/img/category.svg" alt />
        <img src="@/assets/img/category_active.svg" alt />
        <div>分类</div>
      </div>
      <div class="tab-bar-item">
        <img src="@/assets/img/cart.svg" alt />
        <img src="@/assets/img/cart_active.svg" alt />
        <div>购物车</div>
      </div>
      <div class="tab-bar-item">
        <img src="@/assets/img/profile.svg" alt />
        <img src="@/assets/img/profile_active.svg" alt />
        <div>我的</div>
      </div>
    </tab-bar>
  </div>
</template>
<script>
import TabBar from "@/components/TabBar";
export default {
  name: "App",
  components: {
    TabBar
  }
};
</script>
<style>
</style>
